package app.srong.mapper;

import app.srong.vo.Practice;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

@Mapper
@Component
public interface PracticeMapper {
    Integer insert(@Param("vo") Practice practice);

    List<Practice> selectListByParentId(@Param("parentId") Integer parentId);

    Integer clearData();
}
